<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class SceneInfo extends Model
{
    protected $table = 'scene_info';
    protected $guarded = [];

    public function fromDateTime($value){
        return strtotime(parent::fromDateTime($value));
    }
    public function scene()
    {
        return $this->belongsTo('App\Models\Scene');
    }
}